package view;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class operatior extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					operatior frame = new operatior();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public operatior() {
		setTitle("\u9152\u5E97\u7BA1\u7406\u7CFB\u7EDF");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 371);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JButton showroom = new JButton("显示全部房间");
		showroom.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		showroom.setBounds(121, 37, 168, 23);
		contentPane.add(showroom);
		
		JButton button = new JButton("客房预订");
		button.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		button.setBounds(121, 98, 168, 23);
		contentPane.add(button);
		
		JButton btnNewButton = new JButton("顾客查询");
		btnNewButton.setBounds(121, 159, 168, 23);
		contentPane.add(btnNewButton);
		
		JButton btnNewButton_1 = new JButton("宾客结账");
		btnNewButton_1.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		btnNewButton_1.setBounds(121, 226, 168, 23);
		contentPane.add(btnNewButton_1);
	}
}
